import {
	request,
	requestData
} from "../Promise.js"

// 监测分析 
//重点监管货物类别流量统计
export const cargoAnalogyFlow = (params) => {
	return request({
		url: '/data-multiterminal/hg-app/flow/cargoAnalogyFlow',
		method: 'get',
		params
	})
}
//流量流向统计
export const cargoFlowCount = (params) => {
	return request({
		url: '/data-multiterminal/hg-app/flow/cargoFlowCount',
		method: 'get',
		params
	})
}

//货物流入统计排名
export const cargoIn = (params) => {
	return request({
		url: '/data-multiterminal/hg-app/flow/cargoIn',
		method: 'get',
		params
	})
}

//货物流出统计排名
export const cargoOut = (params) => {
	return request({
		url: '/data-multiterminal/hg-app/flow/cargoOut',
		method: 'get',
		params
	})
}
//地图
export const getMapData = (params) => {
	return request({
		url: '/data-multiterminal/hg-app/flow/coordinate',
		method: 'get',
		params
	})
}

//路检路查
export const getBillInfo = (data) => {
	return request({
		url: '/data-multiterminal/hg-app/billInfoController/queryBill',
		method: 'post',
		data
	})
}
//车牌照查询
export const getFirBillInfo = (data) => {
	return request({
		url: '/data-multiterminal/hg-app/billInfoController/queryVehFirstBill',
		method: 'post',
		data
	})
}
//车牌识别
export const getScanLice = (data) => {
	return request({
		url: '/data-multiterminal/hg-app/billInfoController/scanLicensePlate',
		method: 'post',
		data
	})
}


//车辆实时监管
//详情
export const getCarDetail = (data) => {
	return request({
		url: '/data-statisanalysis/client/vehRiskWarn/detail',
		method: 'get',
		data
	})
}
// 门架数据
export const transChannelList = (data) => {
	return request({
		url: '/data-dispatch/transChannel/query/list',
		method: 'post',
		data
	})
}

//车辆实时监管首页
export const getHomeAll = (data) => {
	return request({
		url: '/data-statisanalysis/client/vehRiskWarn/home',
		method: 'get',
		data
	})
}

// 轨迹回放
export const VehTrackList = (data) => {
	return request({
		url: "/data-dispatch/track/query/VehTrackList",
		method: 'post',
		data
	})
}
// 轨迹回放
export const VehEvidenceTrackList = (data) => {
	return request({
		url: "/data-dispatch/track/query/VehEvidenceTrackList",
		method: 'post',
		data
	})
}

// 车辆治超记录查询
export const zcPage = (params) => {
	return request({
		url: '/data-statisanalysis/client/vehRiskWarn/zcPage',
		method: 'get',
		params
	})
};


// 轨迹信息
export const getPlayBack = (data) => {
	return request({
		url: '/data-statisanalysis/vehTrajectory/query/info',
		method: 'post',
		data
	})
}
// 车牌号查询
export const queryVehicle = (data) => {
	return request({
		url: '/qy-server/t/otherprovveh/queryVehicle',
		method: 'get',
		data
	})
}

// 企业查询
export const queryOwnerName = (data) => {
	return request({
		url: '/qy-server/baseowner/listByLikeName',
		method: 'get',
		data
	})
}



//车牌识别
export const getEssential = (data) => {
	return request({
		url: '/data-multiterminal/hg-app/billInfoController/queryBillAllInfo',
		method: 'post',
		data
	})
}


//企业二维码
export const rankingFirm = (data) => {
	return request({
		url: '/data-assessment/eval-statistic/firm/ranking',
		method: 'post',
		data
	})
}
